import { IContext, IParam, IViewDetail } from '@/core';
import { PropType } from 'vue';
type PlacementType = 'top' | 'right' | 'bottom' | 'left';
const drawerProps = {
	//  视图详情
	view: {
		type: Object as PropType<IViewDetail>,
		required: true,
        default: () => {},
	},
	//  应用上下文
	context: Object as PropType<IContext>,
	//  视图参数
	viewParams: Object as PropType<IParam>,
	//  弹出位置
	placement: {
		type: String as PropType<PlacementType>,
		default: 'right',
	},
};
//  抽屉输入参数
export const DrawerProps = drawerProps;
